/*院校信息接口*/
import request from "@/utils/request";

//获取所有院校信息
export function getAllCollegeInfo(data){
    return request({
        url:'/College/getAllCollegeInfo',
        method:'post',
        data
    })
}

//根据college_id修改某一院校的具体信息
export function updateCollegeInfo(data){
    return request({
        url:'/College/updateCollegeInfo',
        method:'post',
        data
    })
}

//根据college_id删除该院校
export function deleteCollegeByID(data){
    return request({
        url:'/College/deleteCollegeByID',
        method:'post',
        data
    })
}

//根据类别和年份获取某一具体国家分数线信息
export function getGradesByYear(data){
    return request({
        url:'/College/getGradesByYear',
        method:'post',
        data
    })
}

//获取全部年份
export function getAllYears(data){
    return request({
        url:'/College/getAllYears',
        method:'post',
        data
    })
}

